package cn.harry.modular.society.domain;

import cn.harry.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 会员服务
 * @TableName t_huiyuanfuwu
 */
@TableName(value ="t_huiyuanfuwu")
@Data
public class Huiyuanfuwu extends BaseEntity {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    @TableField(condition = SqlCondition.LIKE)
    private String username;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickName;

    /**
     * 名称
     */
    @Schema(description = "名称")
    @TableField(condition = SqlCondition.LIKE)
    private String mingcheng;

    /**
     * 时间
     */
    @Schema(description = "时间")
    private Date shijian;

    /**
     * 内容
     */
    @Schema(description = "内容")
    @TableField(condition = SqlCondition.LIKE)
    private String neirong;

    /**
     * 图片
     */
    @Schema(description = "图片")
    private String tupian;

    /**
     * 详情
     */
    @Schema(description = "详情")
    private String xiangqing;

}